from unittest import TestCase
from ddt import ddt,data,unpack

@ddt
class Test(TestCase):

    def setUp(self) -> None:
        print("用例开始")

    def tearDown(self) -> None:
        print("用例结束")

    @data(*[[1],[2],[3]])
    @unpack
    def test1(self,num):
        print("第%s用例执行"%num)

